MAKE = make
CC = g++
CFLAGS = -g -ggdb -I.
OBJS = tokenhelper.o main.o

default: ytags_lua

ytags_lua: ${OBJS}
	${CC} ${OBJS} -o ytags_lua
	cp ytags_lua ../bin

tokenhelper.o: tokenhelper.cpp tokenhelper.h
	${CC} ${CFLAGS} -c tokenhelper.cpp -o tokenhelper.o

main.o: main.cpp tokenhelper.h
	${CC} ${CFLAGS} -c main.cpp -o main.o

clean:
	rm ${OBJS}
